package com.telnetnz.ticketdesk.dao.mapper;

import java.util.List;

import com.rockbb.common.dao.EntityMapper;
import com.telnetnz.ticketdesk.dao.entity.TicketToTagEntity;

public interface TicketToTagMapper extends EntityMapper<TicketToTagEntity>
{
	void deleteByTicketId(long ticketId);
	void deleteByTagId(long tagId);
	List<TicketToTagEntity> selectByTagId(long tagId);
	List<TicketToTagEntity> selectByTicketId(long ticketId);
	TicketToTagEntity selectByTicketIdAndTagId(TicketToTagEntity entity);
}